package org.govhack.okcapital.model;

import java.io.Serializable;

/**
 * Represents a user's profiled rating of the relevance of a particular dataset
 * @author Josh Vote
 *
 */
public class DatasetProfile implements Serializable {
    /** The unique ID of the dataset being profiled*/
    private String datasetId;
    /** The user defined weighting (from [1,5])*/
    private Integer weighting;
    
    /**
     * 
     * @param datasetId The unique ID of the dataset being profiled
     * @param weighting The user defined weighting (from [1,5])
     */
    public DatasetProfile(String datasetId, Integer weighting) {
        super();
        this.datasetId = datasetId;
        this.weighting = weighting;
    }
    /**
     * The unique ID of the dataset being profiled
     * @return
     */
    public String getDatasetId() {
        return datasetId;
    }
    /**
     * The unique ID of the dataset being profiled
     * @param datasetId
     */
    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }
    /**
     * The user defined weighting (from [1,5])
     * @return
     */
    public Integer getWeighting() {
        return weighting;
    }
    /**
     * The user defined weighting (from [1,5])
     * @param rating
     */
    public void setWeighting(Integer weighting) {
        this.weighting = weighting;
    }
    
    
}
